﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.App.Domain
{
    /// <summary>
    /// 基类
    /// </summary>
    public class BaseEntity
    {
        /// <summary>
        /// 主键 唯一标识
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 逻辑删除 false:未删除 true:已删除
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
}
